package model;

import java.util.HashMap;

/**
 * Author: Raoux Etienne
 * Student login: jc218934
 * Student number: 12448190
 * email: etienne.raoux@my.jcu.edu.au
 * alt email: jc218934@gmail.com
 */
public class Data
{
    private static HashMap <String, String> webPages = new HashMap <String, String>();
    
    

    public Data()
    {
        webPages.put("http://auctions.yahoo.co.jp/start", "web/searchpage.htm");
        webPages.put("http://page11.auctions.yahoo.co.jp/jp/show/bid_hist?aID=n94766629&typ=log", "web/bid_hist1.1.htm");
        webPages.put("http://page.auctions.yahoo.co.jp/jp/show/bid_hist?aID=148089663&typ=log", "web/bid_hist2.1.htm");
        webPages.put("http://page16.auctions.yahoo.co.jp/jp/show/bid_hist?aID=u35031408&typ=log", "web/bid_hist3.1.htm");
        webPages.put("http://page2.auctions.yahoo.co.jp/jp/show/bid_hist?aID=b121102644&typ=log", "web/bid_hist4.1.htm");
        webPages.put("http://page4.auctions.yahoo.co.jp/jp/show/bid_hist?aID=d117167064&typ=log", "web/bid_hist5.1.htm");
        webPages.put("http://page19.auctions.yahoo.co.jp/jp/show/bid_hist?aID=x168875954&typ=log", "web/bid_hist6.1.htm");
        webPages.put("http://page5.auctions.yahoo.co.jp/jp/show/bid_hist?aID=e110766552&typ=log", "web/bid_hist7.1.htm");
        webPages.put("http://page16.auctions.yahoo.co.jp/jp/show/bid_hist?aID=u35003126&typ=log", "web/bid_hist8.1.htm");
        webPages.put("http://page5.auctions.yahoo.co.jp/jp/show/bid_hist?aID=e110718222&typ=log", "web/bid_hist9.1.htm");
        webPages.put("http://page9.auctions.yahoo.co.jp/jp/show/bid_hist?aID=k141487693&typ=log", "web/bid_hist10.1.htm");
        webPages.put("http://page7.auctions.yahoo.co.jp/jp/show/bid_hist?aID=g103402309&typ=log", "web/bid_hist11.1.htm");
        webPages.put("http://page11.auctions.yahoo.co.jp/jp/show/bid_hist?aID=n94549949&typ=log", "web/bid_hist12.1.htm");
        webPages.put("http://page18.auctions.yahoo.co.jp/jp/show/bid_hist?aID=w62800423&typ=log", "web/bid_hist13.1.htm");
        webPages.put("http://page2.auctions.yahoo.co.jp/jp/show/bid_hist?aID=b121088998&typ=log", "web/bid_hist14.1.htm");
        webPages.put("http://page2.auctions.yahoo.co.jp/jp/show/bid_hist?aID=b121093072&typ=log", "web/bid_hist15.1.htm");
        webPages.put("http://page6.auctions.yahoo.co.jp/jp/show/bid_hist?aID=f104050473&typ=log", "web/bid_hist16.1.htm");
        webPages.put("http://page8.auctions.yahoo.co.jp/jp/show/bid_hist?aID=h153283614&typ=log", "web/bid_hist17.1.htm");
        webPages.put("http://page2.auctions.yahoo.co.jp/jp/show/bid_hist?aID=b121087634&typ=log", "web/bid_hist18.1.htm");
        webPages.put("http://page10.auctions.yahoo.co.jp/jp/show/bid_hist?aID=m89086283&typ=log", "web/bid_hist19.1.htm");
        webPages.put("http://page6.auctions.yahoo.co.jp/jp/show/bid_hist?aID=f103757611&typ=log", "web/bid_hist20.1.htm");
    }

    public static String getWebPage(String url)
    {
        try
        {
            return webPages.get(url);
        }
        catch (Exception ex)
        {
            return null;
        }
    }
}
